package com.itheima.operator;

public class OperatorDemo3 {
    public static void main(String[] args) {
        // 目标： + 符号做连接符的识别

        int a = 5;
        System.out.println("abc" +'a'); // abca
        System.out.println("abc" + a); // abc5
        System.out.println(5 + a); // 10
        System.out.println("abc" + 5 + 'a'); //abc5a
        System.out.println(15 + "abc" + 15); // 15abc15
        System.out.println(a + 'a'); // 102
        System.out.println(a + "" + 'a'); // 5a
        System.out.println(a + 'a' + " itheima "); // 102itheima
        System.out.println("itheima" + a + 'a'); // itheima5a
        System.out.println("itheima" + (a + 'a')); // itheima102


    }
}
